namespace drg_group.chs_drg_10{
    public class GT1
    {
        public static String group(MedicalRecord record)
        {
            String[] adrg_zd={"K50.000","K50.000x001","K50.000x005","K50.001","K50.002","K50.101","K50.102","K50.103","K50.104","K50.800","K50.800x001","K50.801","K50.900","K51.000","K51.001","K51.002","K51.003","K51.200x001","K51.201","K51.202","K51.203","K51.300","K51.301","K51.302","K51.303","K51.401","K51.800x001","K51.900","K51.901","K51.902","K51.903","K52.104","K52.200x004","K52.201","K52.202","K52.203","K52.204","K52.800x003","K52.801","K52.802","K52.803","K52.804"};
            String[] adrg_zd1={};
            String[] adrg_ss={};
            String[] adrg_ss1={};
            
            if (true && adrg_zd.Contains(record.zdList[0])){
                Base.groupMessages.putMessage(record.Index,"符合GT1入组条件，匹配规则：主诊断匹配");
                    
                if (MDCG_DRG.GT11_group(record))
                {
                    return "GT11";
                }
    
                if (MDCG_DRG.GT13_group(record))
                {
                    return "GT13";
                }
    
                if (MDCG_DRG.GT15_group(record))
                {
                    return "GT15";
                }

                return "GT1";
            }else{
                return "";
            }
        }
    }
}